package com.bootdo.sell.dao;

import com.bootdo.sell.domain.SalesDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 销售单表
 * @author mp
 * @email 1992lcg@163.com
 * @date 2020-03-02 09:22:07
 */
@Mapper
public interface SalesDao {

	SalesDO get(Integer id);
	
	List<SalesDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SalesDO sales);
	
	int update(SalesDO sales);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);
}
